<ul class="gh-posts-context-menu dropdown-menu dropdown-triangle-top-left">

    {{#if this.canUnpublishSelection}}
        <li>
            <button class="mr2" type="button" {{on "click" this.unpublishPosts}}>
                <span>{{svg-jar "undo"}}Unpublish</span>
            </button>
        </li>
    {{/if}}
    {{#if this.canFeatureSelection}}
        {{#if this.shouldFeatureSelection }}
            <li>
                <button class="mr2" type="button" {{on "click" this.featurePosts}}>
                    <span>{{svg-jar "star" class="mb1"}}Feature</span>
                </button>
            </li>
        {{else}}
                <li>
                <button class="mr2" type="button" {{on "click" this.unfeaturePosts}}>
                    <span>{{svg-jar "star" class="mb1"}}Unfeature</span>
                </button>
            </li>
        {{/if}}
    {{/if}}
    <li>
        <button class="mr2" type="button" {{on "click" this.addTagToPosts}}>
            <span>{{svg-jar "tag"}}Add a tag</span>
        </button>
    </li>
    {{#if this.membersUtils.isMembersEnabled}}
        <li>
            <button class="mr2" type="button" {{on "click" this.editPostsAccess}}>
                <span>{{svg-jar "lock"}}Change access</span>
            </button>
        </li>
    {{/if}}
    {{#if this.session.user.isAdmin}}
        <li>
            <button class="mr2" type="button" {{on "click" this.deletePosts}}>
                <span class="red">{{svg-jar "trash"}}Delete</span>
            </button>
        </li>
    {{/if}}
</ul>
